package team.biocar.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import team.biocar.pojo.Balance;

/**
 * @author DeSen Xu
 * @date 2021-11-09 22:43
 */
@Mapper
public interface BalanceMapper extends BaseMapper<Balance> {


    String COLUMN_ID = "id";
    String COLUMN_DATE = "date";
    String COLUMN_PROJECTID = "project_id";
    String COLUMN_REVENUE = "revenue";
    String COLUMN_MASTER = "master";
    String COLUMN_NOTR = "note";
    String COLUMN_BALANCETYPE = "balance_type";

    Balance display();

    Balance query(@Param("bid") int id);
}
